package com.lxq.model;

import java.io.Serializable;

public class Person implements Serializable {
    private Integer personId;
    private String userName;
    private String userPwd;
    private Integer age;


    @Override
    public String toString() {
        return "Person{" +
                "personId=" + personId +
                ", userName='" + userName + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", age=" + age +
                '}';

    }

    public Integer getPersonId() {
        return personId;
    }

    public void setPersonId(Integer personId) {
        this.personId = personId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Person(String userName, String userPwd, Integer age) {
        this.userName = userName;
        this.userPwd = userPwd;
        this.age = age;
    }

    public Person() {
    }
}
